Optimal. Leaf size=63 \[ -\frac {\left (c d^2-a e^2\right )^2}{e^3 (d+e x)}-\frac {2 c d \left (c d^2-a e^2\right ) \log (d+e x)}{e^3}+\frac {c^2 d^2 x}{e^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {626, 43} \begin {gather*} -\frac {\left (c d^2-a e^2\right )^2}{e^3 (d+e x)}-\frac {2 c d \left (c d^2-a e^2\right ) \log (d+e x)}{e^3}+\frac {c^2 d^2 x}{e^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 626
Rubi steps
\begin {align*} \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^2}{(d+e x)^4} \, dx &=\int \frac {(a e+c d x)^2}{(d+e x)^2} \, dx\\ &=\int \left (\frac {c^2 d^2}{e^2}+\frac {\left (-c d^2+a e^2\right )^2}{e^2 (d+e x)^2}-\frac {2 c d \left (c d^2-a e^2\right )}{e^2 (d+e x)}\right ) \, dx\\ &=\frac {c^2 d^2 x}{e^2}-\frac {\left (c d^2-a e^2\right )^2}{e^3 (d+e x)}-\frac {2 c d \left (c d^2-a e^2\right ) \log (d+e x)}{e^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 59, normalized size = 0.94 \begin {gather*} \frac {-\frac {\left (c d^2-a e^2\right )^2}{d+e x}+2 c d \left (a e^2-c d^2\right ) \log (d+e x)+c^2 d^2 e x}{e^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^2}{(d+e x)^4} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 108, normalized size = 1.71 \begin {gather*} \frac {c^{2} d^{2} e^{2} x^{2} + c^{2} d^{3} e x - c^{2} d^{4} + 2 \, a c d^{2} e^{2} - a^{2} e^{4} - 2 \, {\left (c^{2} d^{4} - a c d^{2} e^{2} + {\left (c^{2} d^{3} e - a c d e^{3}\right )} x\right )} \log \left (e x + d\right )}{e^{4} x + d e^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.18, size = 134, normalized size = 2.13 \begin {gather*} c^{2} d^{2} x e^{\left (-2\right )} - 2 \, {\left (c^{2} d^{3} - a c d e^{2}\right )} e^{\left (-3\right )} \log \left ({\left | x e + d \right |}\right ) - \frac {{\left (c^{2} d^{6} - 2 \, a c d^{4} e^{2} + a^{2} d^{2} e^{4} + {\left (c^{2} d^{4} e^{2} - 2 \, a c d^{2} e^{4} + a^{2} e^{6}\right )} x^{2} + 2 \, {\left (c^{2} d^{5} e - 2 \, a c d^{3} e^{3} + a^{2} d e^{5}\right )} x\right )} e^{\left (-3\right )}}{{\left (x e + d\right )}^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 92, normalized size = 1.46 \begin {gather*} -\frac {a^{2} e}{e x +d}+\frac {2 a c \,d^{2}}{\left (e x +d \right ) e}+\frac {2 a c d \ln \left (e x +d \right )}{e}-\frac {c^{2} d^{4}}{\left (e x +d \right ) e^{3}}-\frac {2 c^{2} d^{3} \ln \left (e x +d \right )}{e^{3}}+\frac {c^{2} d^{2} x}{e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.16, size = 79, normalized size = 1.25 \begin {gather*} \frac {c^{2} d^{2} x}{e^{2}} - \frac {c^{2} d^{4} - 2 \, a c d^{2} e^{2} + a^{2} e^{4}}{e^{4} x + d e^{3}} - \frac {2 \, {\left (c^{2} d^{3} - a c d e^{2}\right )} \log \left (e x + d\right )}{e^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.61, size = 83, normalized size = 1.32 \begin {gather*} \frac {c^2\,d^2\,x}{e^2}-\frac {a^2\,e^4-2\,a\,c\,d^2\,e^2+c^2\,d^4}{e\,\left (x\,e^3+d\,e^2\right )}-\frac {\ln \left (d+e\,x\right )\,\left (2\,c^2\,d^3-2\,a\,c\,d\,e^2\right )}{e^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.42, size = 71, normalized size = 1.13 \begin {gather*} \frac {c^{2} d^{2} x}{e^{2}} + \frac {2 c d \left (a e^{2} - c d^{2}\right ) \log {\left (d + e x \right )}}{e^{3}} + \frac {- a^{2} e^{4} + 2 a c d^{2} e^{2} - c^{2} d^{4}}{d e^{3} + e^{4} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________